package com.wlhse.dto;

import org.springframework.stereotype.Component;

@Component
public class EchartsDto {
    private int id;
    private String name;
    private int housePrice;

//    public EchartsDto() {
//        System.out.println("无参构造函数");
//    }
//
//    public void setEchartsDto(int id, String name, int housePrice) {
//        this.id = id;
//        this.name = name;
//        this.housePrice = housePrice;
//    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getHousePrice() {
        return housePrice;
    }

    public void setHousePrice(int housePrice) {
        this.housePrice = housePrice;
    }
}
